<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script language="javascript" type="text/javascript" src="/card/common/common.js"></script>
<script type="text/javascript" language="javascript"
	src="/card/common/levelone.js"></script>
<script type="text/javascript" language="javascript"
	src="leveltwo.js"></script>	
<script type="text/javascript" language="javascript"
	src="/card/common/level_init.js"></script>
 <title>石家庄一卡通有限公司</title>
<link href="/card/images/css.css" rel="stylesheet" type="text/css">

</head>

<body>
<div align="center" style="text-align:center;margin-top:90px">
<fieldset style="width:95%">
    <legend class="gg">投票结果</legend>  
<table border="0" width="80%" >
 <tr class="gg">
 	<th align="left" colspan="3"> 问题：${vo.title}</th> 	
 </tr>	
 <c:forEach items="${vo.answers}" var="ans" varStatus="status">
 	<tr class="gg" >
		<td width="10%" align="right"><b>${status.index+1}.</b></td>
		<td width="40%" align="left">${ans.content}</td>
		<td width="50%" align="left">
			${ans.clickCount}票&nbsp;&nbsp;&nbsp;比例：${ans.clickPercent}%
			<div style="width:${ans.clickPercent}%;height:18px;background-color:gray"></div></td>
	</tr>	
 </c:forEach>         	
</table>
</fieldset>
<table style="margin-top:10px">
	<tr>
		<td colspan="3" align="center">
			<input type="button" value="刷新投票结果" onclick="location.href='voteResult.action'"/>
			&nbsp;&nbsp;
			<input type="button" value="关闭当前窗口" onclick="if(confirm('关闭当前窗口吗？')){window.close();}"/>
		</td>
	</tr>
</table>
</div>
</body>
</html>
